package com.ftx.controller.test.concurrent;

/**
 * Created by fengtingxin on 2019/11/12.
 */
public class SynchronizedDemo {

    public void foo(Object lock){
        synchronized (lock){
            lock.hashCode();
        };
    }
}
